@import './commonPC/_crumbs.less';
@import './commonPC/_productBox.less';
@import './commonPC/_search.less';
@import './commonPC/_page.less';


.home-box{
    margin: 40px auto 0;
    
}
.img-text{
    border-bottom: 1px solid #E4E4E4;
    &:last-child{
        border-bottom: none;
    }
} 
#infscr-loading {
    bottom: -10px;
    left: 45%;
    position: absolute;
    text-align: center;
    height: 20px;
    line-height: 20px;
    z-index: 100;
    width: 120px;
}

/*左右布局*/
.column{
    display: flex;
    justify-content: space-between;
    padding-bottom: 150px;
}
.column-left{
    width: 300px;
}
.column-right{
    padding-top: 28px;
    width: 860px;
}

.page-title{
    line-height: 64px;
    font-size: 24px;
    font-family: Roboto-Bold;
    font-weight: bold;
    color: #121212;
    letter-spacing: 1px;
}
.column-right{
	.products-content{
        display: flex;
        flex-wrap: wrap;
        .products-box{
            padding: 0 0 24px;
            width: 260px;
            margin-right: 40px;
            &:nth-child(3n){
                margin-right: 0;
            }
            .products-box-img{
                width: 260px;
                height: 260px;
                display: flex;
                align-items: center;
                justify-content: center;
                img{
                    width: 260px;
                    height: 260px;
                }
            }
        }
    }
}

.products-content{
    margin-top: 24px;
}

.business-logo{
    height: 160px;
    width: 160px;
    display: flex;
    align-items: center;
    img{
        max-height: 160px;
        max-width: 160px;
        display: block;
    }
}

/*---分类a---*/
.list-a{
    line-height: 20px;
    overflow: hidden;
    li{
        height: 64px;
        display: flex;
        align-items: center;
        p{
            font-size: 16px;
            font-family: Roboto-Regular;
            font-weight: 400;
            color: #121212;
            line-height: 20px;
            display: block;
            span{
                color: #999;
            } 
            a{
                display: inline-block;
            }
        }
        a{
            font-size: 16px;
            font-family: Roboto-Regular;
            font-weight: 400;
            color: #121212;
            line-height: 20px;
            display: block;
            span{
                color: #999;
            }
            &:hover{
                text-decoration: none;
                color: #177FE9;
            }
        }
    }
    
}
.business-about{
    padding: 16px;
    box-sizing: border-box;
    .abstract{
		font-size: 18px;
		color: #333333;
		letter-spacing: 0.5px;
		line-height: 26px;
		margin: 0  0 40px 0;
		overflow: hidden;
	    position: relative;
		.more{
			font-size: 18px;
			color: #177FE9;
			letter-spacing: 0.5px;
			line-height: 26px;
			position: absolute;
			right:0;
			bottom: 0;
			padding: 0 15px 0 35px;
			background: #fff;
		}
	}
    .business-about-box{
        position: relative;
        overflow: hidden;
        line-height: 20px;
        font-size: 14px;
        font-family: Roboto-Regular;
        font-weight: 400;
        color: #333333;
        a{
            position: absolute;
			right:0;
			bottom: 0;
			padding: 0 15px 0 35px;
			background: #fff;
            font-size: 14px;
            font-family: Roboto-Regular;
            font-weight: 400;
            color: #177FE9;
            line-height: 20px;
            display: block;
            padding-left: 5px;
        }
    }
    .business-about-box.p-ellipsis{
        -webkit-line-clamp:9;        
        overflow: hidden;
        text-overflow: ellipsis;
        display: -webkit-box;
        -webkit-box-orient: vertical;
    }
}
/*---分类b---*/
.list-b{
    line-height: 20px;
    overflow: hidden;
    li{
        height: 64px;
        display: flex;
        align-items: center;
        a{
            font-size: 16px;
            font-family: Roboto-Regular;
            font-weight: 400;
            color: #121212;
            line-height: 20px;
            display: block;
            width: 100%;
            background: url(../images/foryou/ic_right@2x.png) no-repeat center right/8px auto;
            padding-right: 15px;
            overflow: hidden;
        }
        &:first-child{
            a{
                color:#000;
                background: none;
            }
        }
    }
    
}
/*---slider list title---*/
.product-title{ 
    line-height: 64px;
    height: 64px;
    overflow: hidden;
    margin-top: 16px;
    span{
        font-size: 16px;
        font-family: Roboto-Bold;
        font-weight: bold;
        color: #333333;
        padding-left: 30px;
        box-sizing: border-box;
        display: block;
    }
    span.price{
        background: url(../images/foryou/price@2x.png) no-repeat center left/21px auto;
    }
    span.brand{
        background: url(../images/foryou/brand@2x.png) no-repeat center left/21px auto;
    }
    span.store{
        background: url(../images/foryou/business@2x.png) no-repeat center left/21px auto;
    }
    span.about{
        background: url(../images/foryou/aboutus@2x.png) no-repeat center left/21px auto;
    }
}

/*price-box*/
.price-box{
    height: 64px;
    padding: 12px 0 16px 16px;
    box-sizing: border-box;
    overflow: hidden;
    span{
        font-size: 14px;
        font-family: Roboto-Regular;
        font-weight: 400;
        color: #999999;
        display: inline-block;
        line-height: 40px;
    }
    input{
        width: 60px;
        height: 40px;
        background: #FFFFFF;
        border-radius: 10px;
        border: 1px solid #DCDCDC;
        line-height: 40px;
        padding: 8px;
        box-sizing: border-box;
        overflow: hidden;
        margin: 0 12px;
    }
    button{
        width: 40px;
        height: 40px;
        background: #FFFFFF;
        border-radius: 10px;
        border: 1px solid #177FE9;
        font-size: 14px;
        font-family: Roboto-Medium;
        font-weight: 500;
        color: #177FE9;
        cursor: pointer;
    }
}

/*--checkbox-list----*/
.checkbox-list{
    li{
        line-height: 64px;
        padding-left: 30px;
        box-sizing: border-box;
        position: relative;
        p{
            display: inline-block;
            font-size: 16px;
            font-family: Roboto-Regular;
            font-weight: 400;
            color: #333333;
            margin-left: 16px;
            &:first-child{
                margin: 0;
            }
            span{
                margin-left: 16px;
                color: #999999;
            }
            input{
                visibility:hidden;
            }
            label{
                font-size: 16px;
                font-family: Roboto-Regular;
                font-weight: 400;
                color: #333333;
                margin-left: 16px;
                cursor:pointer;
                position:absolute;
                width:16px;
                height:16px;
                top:23px;
                left:18px;
                background:#fff;
                border:1px solid #DCDCDC;
                &::after{
                    opacity:0;
                    content:'';
                    position:absolute;
                    width:16px;
                    height:16px;
                    top:-1px;
                    left:-1px;
                    background: url(../images/foryou/Sidebar_Checkbox_Selected@2x.png) no-repeat center center/16px auto;
                   
                }
            }
        }
    }
}
.checkbox-list li input[type=checkbox]:checked + label {
	background:#fff;
	border:1px solid #fff;
}
.checkbox-list li input[type=checkbox]:checked + label:after {
	opacity:1;
}

/*--search-button---*/
.search-button-slider{
    width: 268px;
    height: 40px;
    background: #FFFFFF;
    border-radius: 32px;
    border: 1px solid #177FE9;
    margin:12px 0 12px 15px;
    cursor: pointer;
    font-size: 14px;
    font-family: Roboto-Medium;
    font-weight: 500;
    color: #177FE9;
}
